package com.seata.feign;

import com.seata.model.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: TongRui乀
 * @Date: 2019-12-06 10:45
 * @description：
 */
@FeignClient(name = "Seata-Order")
public interface OrderFeign {

    @PutMapping("order/createOrder")
    Integer createOrder(@RequestBody Order order);

}
